/*    */ package com.qmsk.business.member.memberWashCarBill.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadManyRows;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class MemberWashCarBillDao extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getGsonOfShopId(Integer shopId, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 36 */     Object[] params = { shopId };
/* 37 */     return getGsonOfParams(
/* 38 */       "selectSqlOfShopId", "selectCountSqlOfShopId", 
/* 39 */       "selectJsonOfShopId", params, nPageIdx, nPageSize);
/*    */   }
/*    */ 
/*    */   public String getMaxBillNo(Object shopId) throws SQLException {
/* 43 */     return getSpTableFieldDayNoShopId("BillNo", shopId);
/*    */   }
/*    */ 
/*    */   public GsonHeadManyRows getListOfMemberIds(String[] ids) throws SQLException
/*    */   {
/* 48 */     Map params = new HashMap();
/* 49 */     params.put("ids", ids);
/* 50 */     return getManyRowsOfParams("selectSqlOfBillIds", 
/* 51 */       "selectJsonOfBillIds", params);
/*    */   }
/*    */ 
/*    */   public int updateDeposiBill(String id) throws SQLException {
/* 55 */     Object[] params = { id };
/* 56 */     return update("updateDeposiBill", params);
/*    */   }
/*    */ 
/*    */   public int insertBsBillWashCount(Integer count, Object memberId, String billNo, Long shopId, String createName, String attnName, Object bussId)
/*    */     throws SQLException
/*    */   {
/* 63 */     Object[] params = { memberId, shopId, billNo, 
/* 64 */       count, createName, attnName, bussId };
/* 65 */     return update("insertBsBillWashCount", params);
/*    */   }
/*    */ 
/*    */   public int updateCheckStatus(String userName, String billNo) throws SQLException {
/* 69 */     Object[] params = { userName, billNo };
/* 70 */     return update("updateCheckStatus", params);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getRefundSingle(Object bissId) throws SQLException {
/* 74 */     Object[] params = { bissId };
/* 75 */     return getOneRowOfParams("selectSqlRefundSingle", "selectJsonRefundSingle", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.member.memberWashCarBill.dao.MemberWashCarBillDao
 * JD-Core Version:    0.5.3
 */